.window {
}

.window:hover {
    cursor: pointer;
}

.menu {
    background-color: #EFEFEF;
    border: 1px solid #346789;
    box-shadow: 2px 2px 5px #AAAAAA;
    color: black;
    min-height: 3em;
    position: absolute;
    min-width: 5em;
}

.task {
    background-color: #EEEEEF;
    border: 1px solid #346789;
    border-radius: 0.5em;
    box-shadow: 2px 2px 5px #AAAAAA;
    color: black;
    height: 5em;
    position: absolute;
    width: 8em;
    text-align: center;
}

.task .ctrl-container {
}

/* Start End */
.point {
    background-color: #007400;
    border: 5px solid #AAAAAA;
    border-radius: 50px;
    box-shadow: 2px 2px 5px #AAAAAA;
    color: white;
    min-width: 25px;
    line-height: 25px;
    font-size: 10pt;
    padding: 10px;
    position: absolute;
    text-align: center;
}

.point:hover {
    box-shadow: 2px 2px 19px #AAAAAA;
}

.decision {
    background-color: #EEEEEF;
    transform: rotate(-45deg);
    border: 1px solid #346789;
    border-radius: 0.3em;
    color: black;
    backface-visibility: hidden;
    box-shadow: 0 0 0 1px #CCCCCC;
    color: #000000;
    display: block;
    height: 80px;
    /*overflow: hidden;*/
    position: relative;
    position: absolute;
    text-decoration: none;
    width: 80px;
}

.decision .ctrl-container {
    /*display: table-cell;*/
    padding: 0 10px;
    transform: rotate(45deg);
    text-align: center;
    vertical-align: middle;
    width: 60px;
    /* height: 60px; */
    position: absolute;
    right: -80px;
    /* left: 36px; */
    bottom: 25px;

}


.button {
    text-align: center;
    border: 1px solid;
    margin: 5px;
}

.button:hover {
    cursor: pointer;
}

.menu-button {
    padding: 5px;
}

.menu-button:hover {
    background-color: #AAAAAA;
    color: black;
}

.button_add {
    background-color: #00CC00;
    float: left;
    border-radius: 50%;
    box-shadow: 0px 3px 8px #aaa, inset 0px 2px 3px #fff;
    padding: 2px;
    height: 25px;
    width: 25px;
    color: grey;
}

.button_add:hover {
    background-color: #00AA00;
    color: black;
}

.button-remove {
    border-radius: 20%;
    box-shadow: 0px 3px 8px #aaa, inset 0px 2px 3px #fff;
    padding: 5px;
    width: 10px;
    height: 10px;
    text-align: middle;
    background-image: url('../images/close.png');
    background-size: 20px;
}

.button-edit {
    border-radius: 20%;
    box-shadow: 0px 3px 8px #aaa, inset 0px 2px 3px #fff;
    padding: 5px;
    margin-right: 5px;
    width: 10px;
    height: 10px;
    background-image: url('../images/edit.png');
    background-size: 20px;
    float: right;
}

.button-edit:hover {
    background-color: rgb(77, 146, 185);
    color: white;
}

.task .button-remove {
    float: right;
}

.decision .button-remove {
    margin: auto auto;
    float: right;
}

.button-remove:hover {
    background-color: darkred;
    color: white;
}

.menu-button-container {
    margin: 5px;
}

.ctrl-container {
    margin-top: 5px;
    width: 97%;
    text-align: center;
    display: flex;
    /* justify-content: space-around; */
    flex-direction: row-reverse;
    /* padding-right: 10px; */
}


.detail-label {
    font-size: 9pt;
    color: grey;
}

.detail-text {
    width: 80px;
    font-size: 10pt;
}

._jsPlumb_connector,
._jsPlumb_startpoint {
    cursor: pointer;
}

/*edit编辑用*/
.djs-direct-editing-content {
    box-sizing: border-box;
    width: 100%;
    outline: none;
    word-wrap: break-word;
    font-family: Arial, sans-serif;
    font-size: 12px;
    font-weight: normal;
    line-height: 1.2;
    padding: 7px 5px;
    position: absolute;
    top: 50%;
    transform: translate(0px, -50%);
}
